-
Notifications
You must be signed in to change notification settings - Fork 3
[refactor] 개인 메세지 구현 #112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[refactor] 개인 메세지 구현 #112
Conversation
# Conflicts: # backend/src/main/java/io/f1/backend/domain/auth/dto/CurrentUserAndAdminResponse.java # backend/src/main/java/io/f1/backend/domain/game/app/RoomService.java # backend/src/main/java/io/f1/backend/domain/game/dto/MessageType.java # backend/src/main/java/io/f1/backend/domain/game/mapper/RoomMapper.java # backend/src/main/java/io/f1/backend/domain/game/model/Room.java # backend/src/main/java/io/f1/backend/global/config/WebSocketConfig.java
# Conflicts: # backend/src/main/java/io/f1/backend/domain/game/app/RoomService.java # backend/src/main/java/io/f1/backend/domain/game/dto/response/ExitSuccessResponse.java
| "/signup", | ||
| "/css/**", | ||
| "/js/**", | ||
| "/**", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 url path를 추가하면 요청 전체가 permitAll로 설정됩니다 수정 부탁드립니다 !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
재연결 pr이랑 마구마구섞였더니 .. 이런 실수를.. 감사합니다!!
backend/src/main/java/io/f1/backend/domain/game/app/RoomService.java
Outdated
Show resolved
Hide resolved
backend/src/main/java/io/f1/backend/domain/game/dto/response/ExitSuccessResponse.java
Outdated
Show resolved
Hide resolved
jiwon1217
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다 !
# Conflicts: # backend/src/main/java/io/f1/backend/domain/game/app/RoomService.java
backend/src/main/java/io/f1/backend/domain/game/dto/SystemNoticeMessage.java
Outdated
Show resolved
Hide resolved
LimKangHyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!
silver-eunjoo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
와..! 정말 신기한 기능입니다. 재연결 시 다음 라운드부터 참가할 수 있도록 한 것도 좋은 것 같습니다 !!
# Conflicts: # backend/src/main/resources/application.yml
# Conflicts: # backend/src/main/java/io/f1/backend/domain/game/app/GameService.java # backend/src/main/java/io/f1/backend/domain/game/app/RoomService.java # backend/src/main/java/io/f1/backend/domain/game/app/TimerService.java # backend/src/main/java/io/f1/backend/domain/game/dto/MessageType.java
🛰️ Issue Number
🪐 작업 내용
reconnect,exit,gameSetting등 브로드캐스트가 필요 없는 상황에서 불필요한 네트워크를 줄이기 위해convertAndSendToUser()를 사용MessageSender안에sendPersonal ()로 구현console에 개인메세지로 응답이 오는걸 확인했습니다.변경 목록
gameSetting브로드캐스팅 -> 개인 메세지systemNotice제외 모든 응답은 개인 메세지MessageSend.send를sendBroadcast로 메소드명 변경📚 Reference
✅ Check List